STEP 6: Let's create the loop that will allow the player to guess more than once.

We'll use a for loop in our program. Remember that a for loop needs code underneath to run.

  • Go to and drag out Loop with Range.
  • Drag Say from and drop it inside the for loop so it has a ····.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)